<style>
.input-xlarge, input.xlarge, textarea.xlarge, select.xlarge {
    width: 500px;
}
</style>
<div class="groups form">
<ul class="breadcrumb">
    
    <li class="active">Sửa đáp án </li>
</ul>
<?php echo $this->Form->create('Answer');?>
	<fieldset>
		
	<?php
            echo $this->Form->input('id');
            echo $this->Form->input('name', array('div'=>'clearfix', 'readonly'=>false,
                'before'=>'<label>'.__('Name').'</label><div class="input">',
                'after'=>$this->Form->error('name', array(), array('wrap' => 'span', 'class' => 'help-inline')).'</div>',
                'error' => array('attributes' => array('style' => 'display:none')),
                'label'=>false, 'class'=>'xlarge',
				'type' => 'textarea',));
	?>
        <div style="padding-left:90px;padding-bottom:10px;">
	Kết quả  &nbsp;&nbsp;&nbsp;Sai : <input type='radio' name="data[Answer][ruler]" value="0" <?php if($this->request->data['Answer']['ruler']==0){?> checked="true" <?php }?>></input>
			 &nbsp;&nbsp;Đúng : <input type='radio' name="data[Answer][ruler]" value="1"<?php if($this->request->data['Answer']['ruler']==1){?> checked="true" <?php }?>></input>
	</div>
		<input type="hidden" name="data[Answer][url]" value="/admin/answers/add/<?php echo $this->request->data['Answer']['id_quyestion']?>"></input>
		<div style="padding-left:150px;">
            <?php echo $this->Form->submit(__('Submit'), array('class'=>'btn primary', 'div'=>false));?>
            <?php echo $this->Form->reset(__('Cancel'), array('class'=>'btn', 'div'=>false));?>
        </div>
	</fieldset>
<?php echo $this->Form->end();?>
</div>

